<template>
  <div>
      <!-- <h1>1</h1>
      <h1>2</h1>
      <h1>3</h1>
      <h1>4</h1>
      <h1>5</h1> -->

      <!-- 数据的每一项 -->
      <h1 v-for="(item,index) in list" :key="index">
          {{item}}
      </h1>
  </div>
</template>

<script>
export default {
    data () {
        return {
            list: [1,2,3,4,5]
        }
    }
}
</script>

<style scoped>
</style>